/**
 * Xuanlin
    2013-8-7
 */
package com.isoftstone.industry.aaa.core.service.sysparam.impl;

import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.hibernate.HibernateException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.isoftstone.industry.common.util.DateUtils;
import com.isoftstone.industry.common.util.SysParamCodeConstants;
import com.isoftstone.industry.persistance.bean.SysParamInfo;
import com.isoftstone.industry.persistance.bean.SysParamType;
import com.isoftstone.industry.persistance.bean.SysUser;
import com.isoftstone.industry.security.SessionContextHolder;
import com.isoftstone.industry.aaa.core.dao.assist.SysParamInfoDao;
import com.isoftstone.industry.aaa.core.service.sysparam.ISysParamInfoService;

/**
 * @author Xuanlin
 *
 */
@Service("sysParamInfoService")
public class SysParamInfoServiceImpl implements ISysParamInfoService {
	
	@Resource
	private SysParamInfoDao sysParamInfoDao;

	public SysParamInfoDao getSysParamInfoDao() {
		return sysParamInfoDao;
	}

	public void setSysParamInfoDao(SysParamInfoDao sysParamInfoDao) {
		this.sysParamInfoDao = sysParamInfoDao;
	}

	@Override
	public SysParamInfo getSysParamInfoById(String paramId)
			throws HibernateException, SQLException {
		
		return sysParamInfoDao.getSysParamInfoById(paramId);
	}

}
